package com.example.warehousems.vo;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class TicketAdviceVO {
    @NotEmpty(message = "缺少审核意见")
    String adminSug;
    @NotNull(message = "缺少审核状态")
    Boolean status;
    @NotNull(message = "缺少工单编号")
    private Integer jobTicketId;

    @Override
    public String toString() {
        return "{" +
                "\"adminSug\":\"" + adminSug + '"' +
                ", \"status\":" + status +
                ", \"jobTicketId\":" + jobTicketId +
                '}';
    }
}
